<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page  isELIgnored="false"%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<title>所有event</title>
</head>
<body>

<div class="container bs-docs-container">
  <br>
 
  
  
  
  <table class="table table-striped">
  <caption>代购记录.</caption>
  	<thead>
        <tr>
          <th>次数</th>
          <th>时间</th>
          <th>操作</th>
        </tr>
      </thead>
      
      <tbody>
      	<c:forEach items="${shops}" var="t">
      		<tr>
	          <td><c:out value="${t.title}" /></td>
	          <td><c:out value="${t.time}" /></td>
	          <td><a href="<%=request.getContextPath()%>/events/showDetails?shopEventId=<c:out value="${t.id}" />">添加购物详细</a></td>
	        </tr>
      	</c:forEach>
      	
      
      </tbody>
      
</table>
  
</div>


</body>
</html>